package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author haibin.zhang
 * @version v1.0
 * @date 2019/7/18 14:45
 * @since v1.0
 */
@Getter
@Setter
public class FixDataJobDTO extends BaseDTO {

    @NotEmpty(message = "{dto.msg.fixDataJob.xbbCode.NotEmpty}")
    private String xbbCode;

    private List<String> corpidList;

    private Long dataId;

    private List<Long> dataIdList;
    /**
     * 数据字典类型（目前用于客户状态）
     */
    private Integer type;

    private Long formId;

    @NotNull(message = "businessType不能为空")
    private Integer businessType;

    @NotNull(message = "saasMark不能为空")
    private Integer saasMark;


    private List<Integer> businessTypeList;

    private Integer fromProductSupplier;


    private Integer isNeedUpdateEs;

    private Long addTime;

    private Long addTimeStart;

    private Long updateTimeStart;

    private Long day;

    /**
     * 排除掉不需要刷数据的公司
     */
    private List<String> exclude;

    private List<String> keyList;

    private Integer async;

    private Integer pageSize;
}
